package com.quanyan.place.entity;

import com.quanyan.common.Plugin.Page;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbBizPlaceGoodsCheckRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbBizPlaceGoodsCheckRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNull() {
            addCriterion("goods_id is null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNotNull() {
            addCriterion("goods_id is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdEqualTo(String value) {
            addCriterion("goods_id =", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotEqualTo(String value) {
            addCriterion("goods_id <>", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThan(String value) {
            addCriterion("goods_id >", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThanOrEqualTo(String value) {
            addCriterion("goods_id >=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThan(String value) {
            addCriterion("goods_id <", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThanOrEqualTo(String value) {
            addCriterion("goods_id <=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLike(String value) {
            addCriterion("goods_id like", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotLike(String value) {
            addCriterion("goods_id not like", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIn(List<String> values) {
            addCriterion("goods_id in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotIn(List<String> values) {
            addCriterion("goods_id not in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdBetween(String value1, String value2) {
            addCriterion("goods_id between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotBetween(String value1, String value2) {
            addCriterion("goods_id not between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIsNull() {
            addCriterion("place_id is null");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIsNotNull() {
            addCriterion("place_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlaceIdEqualTo(Integer value) {
            addCriterion("place_id =", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotEqualTo(Integer value) {
            addCriterion("place_id <>", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdGreaterThan(Integer value) {
            addCriterion("place_id >", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("place_id >=", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdLessThan(Integer value) {
            addCriterion("place_id <", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdLessThanOrEqualTo(Integer value) {
            addCriterion("place_id <=", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIn(List<Integer> values) {
            addCriterion("place_id in", values, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotIn(List<Integer> values) {
            addCriterion("place_id not in", values, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdBetween(Integer value1, Integer value2) {
            addCriterion("place_id between", value1, value2, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotBetween(Integer value1, Integer value2) {
            addCriterion("place_id not between", value1, value2, "placeId");
            return (Criteria) this;
        }

        public Criteria andBeforeCheckInventoryIsNull() {
            addCriterion("before_check_inventory is null");
            return (Criteria) this;
        }

        public Criteria andBeforeCheckInventoryIsNotNull() {
            addCriterion("before_check_inventory is not null");
            return (Criteria) this;
        }

        public Criteria andBeforeCheckInventoryEqualTo(Integer value) {
            addCriterion("before_check_inventory =", value, "beforeCheckInventory");
            return (Criteria) this;
        }

        public Criteria andBeforeCheckInventoryNotEqualTo(Integer value) {
            addCriterion("before_check_inventory <>", value, "beforeCheckInventory");
            return (Criteria) this;
        }

        public Criteria andBeforeCheckInventoryGreaterThan(Integer value) {
            addCriterion("before_check_inventory >", value, "beforeCheckInventory");
            return (Criteria) this;
        }

        public Criteria andBeforeCheckInventoryGreaterThanOrEqualTo(Integer value) {
            addCriterion("before_check_inventory >=", value, "beforeCheckInventory");
            return (Criteria) this;
        }

        public Criteria andBeforeCheckInventoryLessThan(Integer value) {
            addCriterion("before_check_inventory <", value, "beforeCheckInventory");
            return (Criteria) this;
        }

        public Criteria andBeforeCheckInventoryLessThanOrEqualTo(Integer value) {
            addCriterion("before_check_inventory <=", value, "beforeCheckInventory");
            return (Criteria) this;
        }

        public Criteria andBeforeCheckInventoryIn(List<Integer> values) {
            addCriterion("before_check_inventory in", values, "beforeCheckInventory");
            return (Criteria) this;
        }

        public Criteria andBeforeCheckInventoryNotIn(List<Integer> values) {
            addCriterion("before_check_inventory not in", values, "beforeCheckInventory");
            return (Criteria) this;
        }

        public Criteria andBeforeCheckInventoryBetween(Integer value1, Integer value2) {
            addCriterion("before_check_inventory between", value1, value2, "beforeCheckInventory");
            return (Criteria) this;
        }

        public Criteria andBeforeCheckInventoryNotBetween(Integer value1, Integer value2) {
            addCriterion("before_check_inventory not between", value1, value2, "beforeCheckInventory");
            return (Criteria) this;
        }

        public Criteria andAfterCheckInventoryIsNull() {
            addCriterion("after_check_inventory is null");
            return (Criteria) this;
        }

        public Criteria andAfterCheckInventoryIsNotNull() {
            addCriterion("after_check_inventory is not null");
            return (Criteria) this;
        }

        public Criteria andAfterCheckInventoryEqualTo(Integer value) {
            addCriterion("after_check_inventory =", value, "afterCheckInventory");
            return (Criteria) this;
        }

        public Criteria andAfterCheckInventoryNotEqualTo(Integer value) {
            addCriterion("after_check_inventory <>", value, "afterCheckInventory");
            return (Criteria) this;
        }

        public Criteria andAfterCheckInventoryGreaterThan(Integer value) {
            addCriterion("after_check_inventory >", value, "afterCheckInventory");
            return (Criteria) this;
        }

        public Criteria andAfterCheckInventoryGreaterThanOrEqualTo(Integer value) {
            addCriterion("after_check_inventory >=", value, "afterCheckInventory");
            return (Criteria) this;
        }

        public Criteria andAfterCheckInventoryLessThan(Integer value) {
            addCriterion("after_check_inventory <", value, "afterCheckInventory");
            return (Criteria) this;
        }

        public Criteria andAfterCheckInventoryLessThanOrEqualTo(Integer value) {
            addCriterion("after_check_inventory <=", value, "afterCheckInventory");
            return (Criteria) this;
        }

        public Criteria andAfterCheckInventoryIn(List<Integer> values) {
            addCriterion("after_check_inventory in", values, "afterCheckInventory");
            return (Criteria) this;
        }

        public Criteria andAfterCheckInventoryNotIn(List<Integer> values) {
            addCriterion("after_check_inventory not in", values, "afterCheckInventory");
            return (Criteria) this;
        }

        public Criteria andAfterCheckInventoryBetween(Integer value1, Integer value2) {
            addCriterion("after_check_inventory between", value1, value2, "afterCheckInventory");
            return (Criteria) this;
        }

        public Criteria andAfterCheckInventoryNotBetween(Integer value1, Integer value2) {
            addCriterion("after_check_inventory not between", value1, value2, "afterCheckInventory");
            return (Criteria) this;
        }

        public Criteria andCheckResultIsNull() {
            addCriterion("check_result is null");
            return (Criteria) this;
        }

        public Criteria andCheckResultIsNotNull() {
            addCriterion("check_result is not null");
            return (Criteria) this;
        }

        public Criteria andCheckResultEqualTo(Integer value) {
            addCriterion("check_result =", value, "checkResult");
            return (Criteria) this;
        }

        public Criteria andCheckResultNotEqualTo(Integer value) {
            addCriterion("check_result <>", value, "checkResult");
            return (Criteria) this;
        }

        public Criteria andCheckResultGreaterThan(Integer value) {
            addCriterion("check_result >", value, "checkResult");
            return (Criteria) this;
        }

        public Criteria andCheckResultGreaterThanOrEqualTo(Integer value) {
            addCriterion("check_result >=", value, "checkResult");
            return (Criteria) this;
        }

        public Criteria andCheckResultLessThan(Integer value) {
            addCriterion("check_result <", value, "checkResult");
            return (Criteria) this;
        }

        public Criteria andCheckResultLessThanOrEqualTo(Integer value) {
            addCriterion("check_result <=", value, "checkResult");
            return (Criteria) this;
        }

        public Criteria andCheckResultIn(List<Integer> values) {
            addCriterion("check_result in", values, "checkResult");
            return (Criteria) this;
        }

        public Criteria andCheckResultNotIn(List<Integer> values) {
            addCriterion("check_result not in", values, "checkResult");
            return (Criteria) this;
        }

        public Criteria andCheckResultBetween(Integer value1, Integer value2) {
            addCriterion("check_result between", value1, value2, "checkResult");
            return (Criteria) this;
        }

        public Criteria andCheckResultNotBetween(Integer value1, Integer value2) {
            addCriterion("check_result not between", value1, value2, "checkResult");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andCheckInventoryNumIsNull() {
            addCriterion("check_inventory_num is null");
            return (Criteria) this;
        }

        public Criteria andCheckInventoryNumIsNotNull() {
            addCriterion("check_inventory_num is not null");
            return (Criteria) this;
        }

        public Criteria andCheckInventoryNumEqualTo(String value) {
            addCriterion("check_inventory_num =", value, "checkInventoryNum");
            return (Criteria) this;
        }

        public Criteria andCheckInventoryNumNotEqualTo(String value) {
            addCriterion("check_inventory_num <>", value, "checkInventoryNum");
            return (Criteria) this;
        }

        public Criteria andCheckInventoryNumGreaterThan(String value) {
            addCriterion("check_inventory_num >", value, "checkInventoryNum");
            return (Criteria) this;
        }

        public Criteria andCheckInventoryNumGreaterThanOrEqualTo(String value) {
            addCriterion("check_inventory_num >=", value, "checkInventoryNum");
            return (Criteria) this;
        }

        public Criteria andCheckInventoryNumLessThan(String value) {
            addCriterion("check_inventory_num <", value, "checkInventoryNum");
            return (Criteria) this;
        }

        public Criteria andCheckInventoryNumLessThanOrEqualTo(String value) {
            addCriterion("check_inventory_num <=", value, "checkInventoryNum");
            return (Criteria) this;
        }

        public Criteria andCheckInventoryNumLike(String value) {
            addCriterion("check_inventory_num like", value, "checkInventoryNum");
            return (Criteria) this;
        }

        public Criteria andCheckInventoryNumNotLike(String value) {
            addCriterion("check_inventory_num not like", value, "checkInventoryNum");
            return (Criteria) this;
        }

        public Criteria andCheckInventoryNumIn(List<String> values) {
            addCriterion("check_inventory_num in", values, "checkInventoryNum");
            return (Criteria) this;
        }

        public Criteria andCheckInventoryNumNotIn(List<String> values) {
            addCriterion("check_inventory_num not in", values, "checkInventoryNum");
            return (Criteria) this;
        }

        public Criteria andCheckInventoryNumBetween(String value1, String value2) {
            addCriterion("check_inventory_num between", value1, value2, "checkInventoryNum");
            return (Criteria) this;
        }

        public Criteria andCheckInventoryNumNotBetween(String value1, String value2) {
            addCriterion("check_inventory_num not between", value1, value2, "checkInventoryNum");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkIsNull() {
            addCriterion("batch_remark is null");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkIsNotNull() {
            addCriterion("batch_remark is not null");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkEqualTo(String value) {
            addCriterion("batch_remark =", value, "batchRemark");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkNotEqualTo(String value) {
            addCriterion("batch_remark <>", value, "batchRemark");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkGreaterThan(String value) {
            addCriterion("batch_remark >", value, "batchRemark");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("batch_remark >=", value, "batchRemark");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkLessThan(String value) {
            addCriterion("batch_remark <", value, "batchRemark");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkLessThanOrEqualTo(String value) {
            addCriterion("batch_remark <=", value, "batchRemark");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkLike(String value) {
            addCriterion("batch_remark like", value, "batchRemark");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkNotLike(String value) {
            addCriterion("batch_remark not like", value, "batchRemark");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkIn(List<String> values) {
            addCriterion("batch_remark in", values, "batchRemark");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkNotIn(List<String> values) {
            addCriterion("batch_remark not in", values, "batchRemark");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkBetween(String value1, String value2) {
            addCriterion("batch_remark between", value1, value2, "batchRemark");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkNotBetween(String value1, String value2) {
            addCriterion("batch_remark not between", value1, value2, "batchRemark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}